package a.f.h.c;

import a.a.db;
import a.c.*;
import a.c.e;
import a.c.m;

public class i
  implements g
{
  private boolean a = false;
  public static int b;
  
  public void a(a.f.h.b.f paramf, l paraml1, l paraml2)
  {
    a.i.n.a(this, 3, "Simplex Compaction");
    a(paraml1);
    a(paraml2);
  }
  
  public void a(boolean paramBoolean)
  {
    this.a = paramBoolean;
  }
  
  public void a(l paraml)
  {
    boolean bool = d.o;
    int i = d.n;
    q localq = paraml.m();
    a.c.n localn1 = localq.C();
    a.c.n localn2 = localq.C();
    x localx1 = localq.B();
    x localx2 = localq.B();
    Object localObject1 = localq.v();
    do
    {
      if (!((w)localObject1).e()) {
        break;
      }
      localx2.a(((w)localObject1).d(), new ab());
      if (bool) {
        break label221;
      }
      ((w)localObject1).f();
      if (i != 0) {
        break label217;
      }
    } while (i == 0);
    if (!bool)
    {
      localObject1 = localq.w();
      do
      {
        do
        {
          if (!((m)localObject1).e()) {
            break;
          }
          localn2.a(((m)localObject1).a(), (int)paraml.c(((m)localObject1).a()));
          localn1.a(((m)localObject1).a(), paraml.d(((m)localObject1).a()));
          ((m)localObject1).f();
          if ((!bool) && (i != 0)) {
            break label217;
          }
        } while (i == 0);
      } while (bool);
      if (!this.a)
      {
        localObject1 = new f();
        ((f)localObject1).a(paraml);
      }
    }
    label217:
    label221:
    localObject1 = localq.v();
    do
    {
      do
      {
        if (!((w)localObject1).e()) {
          break;
        }
        localx1.a(((w)localObject1).d(), paraml.b(((w)localObject1).d()).l());
        ((w)localObject1).f();
        if (bool) {
          break label301;
        }
        if (i != 0) {
          break label294;
        }
      } while (i == 0);
    } while (bool);
    localObject1 = localq.v();
    label294:
    label301:
    Object localObject2;
    do
    {
      do
      {
        if (!((w)localObject1).e()) {
          break;
        }
        if (bool) {
          break label419;
        }
        localObject2 = ((w)localObject1).d();
        d locald = paraml.b((e)localObject2);
        k localk = paraml.a(locald);
        if (i != 0) {
          break label415;
        }
        if (((bool) || (localk != null)) && (localk.a == locald))
        {
          a.c.d locald1 = ((e)localObject2).a(localk.c.b());
          localn1.a(locald1, 20000);
        }
        ((w)localObject1).f();
      } while (i == 0);
    } while (bool);
    db.a(localq, localx1, localn1, localn2);
    label415:
    label419:
    localObject1 = localq.v();
    do
    {
      if (!((w)localObject1).e()) {
        break;
      }
      localObject2 = paraml.b(((w)localObject1).d());
      ((d)localObject2).a(localx1.getInt(((w)localObject1).d()));
      ((w)localObject1).f();
      if (bool) {
        break label516;
      }
      if (i != 0) {
        break label513;
      }
    } while (i == 0);
    localq.a(localx1);
    localq.a(localx2);
    localq.a(localn1);
    if (!bool) {
      localq.a(localn2);
    }
    label513:
    label516:
    if (!bool)
    {
      if (q.n) {
        i++;
      }
    }
    else {
      d.n = i;
    }
    if (q.o) {
      d.o = !bool;
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.h.c.i

 * JD-Core Version:    0.7.0.1

 */